package com.info.zhiduoduo.repository.dto.project;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.info.zhiduoduo.common.utils.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserProjectDto {

    private int projectid;
    private String projectname;
    @ApiModelProperty("项目类型 1: 项目 4:长期项目子项目")
    private int type;
    private int categoryid;
    private String categoryname;
    private int compid;
    private String compname;
    private String compnickname;
    private String complogo;
    private BigDecimal projectamount;
    private BigDecimal projectdealamount;
    private int invoicetype;
    @ApiModelProperty("项目提交时间")
    private Date projectsubmit;
    private Date projectstart;
    private Date projectfinish;
    @ApiModelProperty("支付方式Id")
    private Integer payId;
    /** 线下支付状态: 1:未支付 2:已支付 */
    private int offlinePayState;
    @ApiModelProperty("1草稿 2待发布 4已发布 6竞标中 7竞标失败 8竞标结束 10进行中 12验收中 13 验收完成 14 拒绝验收 15待线下支付 20已完成 44删除")
    private Integer state;
    @ApiModelProperty("招标类型 1：邀约 2：公开")
    private int bidType;
    @JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
    @ApiModelProperty("公开招标结束日期，字符串yyyy-MM-dd")
    private Date bidEnd;
    @JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
    @ApiModelProperty("公开招标项目完成截止日期，字符串yyyy-MM-dd")
    private Date bidProjectFinish;
    @ApiModelProperty("公开招标审核结果备注")
    private String bidVerifyRemark;
    @ApiModelProperty("是否通知乙方上传交付物 0：否 1：是")
    private Integer notifyUploadDelivery;
    @ApiModelProperty("已投标人数")
    private int bidCount;
    @ApiModelProperty("是否已投标：0.否 1.是")
    private int bid;
}
